<!DOCTYPE html>
<html>
<head>
    <title>Test</title>
</head>
<body>
    <script type="module">
        // Simple test for async generators
        async function* testGenerator() {
            yield { type: 'test', value: 1 };
            yield { type: 'test', value: 2 };
        }
        
        async function runTest() {
            for await (const item of testGenerator()) {
                console.log(item);
            }
        }
        
        runTest();
    </script>
</body>
</html>